<?php
class Default_Model_newproduct extends Zend_Db_Table
{
	public function get_product_feature()
	{
	    $ns = new Zend_Session_Namespace('lang');
	    $lang=$ns->lang;
		$db = Zend_Registry::get('connectDb');
		$select = $db->select()
		          ->from('details_product', array('id','title','introtext','images')) 
		          ->where('published = ?', '1')
		          ->where('language_id = ?',$lang)
		          ->where('featured 	 = ?','1')
		           ->order('order ASC')
		          ->limit('3','0');
		$result = $db->fetchAll($select);
	    return $result;          
		
	}	
	
	
}